<br />
<p class='text-center lead'>{client_name}{title}</p>

<script language="JavaScript" type="text/javascript" src="http://192.168.1.70/JS/jquery.tablesorter.js"></script>

<table class='table table-striped table-bordered' id = 'mytable'>
	<thead>
	<tr  class="info">
	<th class="col-md-2"><strong>联系人</strong></th>
	<th class="col-md-2"><strong>联系方式</strong></th>
	<th class="col-md-1"><strong>联系日期</strong></th>
	<th class="col-md-1"><strong>更新日期</strong></th>
	<th class="col-md-3"><strong>状态</strong></th>
	<th class="col-md-2"><strong>备注</strong></th>
	<th class="col-md-1"><strong>操作</strong></th>
	</tr>
	</thead>
	
	<tbody>
	{records}
		<tr>
		<td>{cp_name}</td>
		<td>{means}</td>
		<td>{contact_date}</td>
		<td>{update_date}</td>
		<td>{status}</td>
		<td>{remark}</td>
		<td>
			<a class='btn btn-success btn-sm' href='http://<?php echo base_url(); ?>index.php/contact_record/index/{client_id}/{id}' role='button'>更新</a>
			<a class='btn btn-danger btn-sm' href='http://<?php echo base_url(); ?>index.php/contact_record/del/{client_id}/{id}' role='button'>删</a>
		</td>
		</tr>
	{/records}
	</tbody>
</table>

<script type="text/javascript">
	jQuery("#mytable").tablesorter();
</script>
